package org.code.mallspringboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.code.mallspringboot.pojo.OmsOrderItem;
import org.code.mallspringboot.service.OmsOrderItemService;
import org.code.mallspringboot.mapper.OmsOrderItemMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class OmsOrderItemServiceImpl implements OmsOrderItemService{
    @Autowired
    private OmsOrderItemMapper omsOrderItemMapper;
    @Override
    public List<OmsOrderItem> listByOrderId(Long orderId) {
        return omsOrderItemMapper.listByOrderId(orderId);
    }
}




